package com.tjian.fafa.user.base.mainBody;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.RelativeLayout;

import com.tjian.fafa.user.R;

public class AddFirendActivity extends Activity
{

    //	private Button id_add_iconButton;
    private RelativeLayout mLayoutByName;
    private RelativeLayout mLayoutByElse;

    private View mViewOfPage;

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main_tab_friends);
        mLayoutByName = (RelativeLayout) findViewById(R.id.main_tab_friends_find_by_name);
        mLayoutByElse = (RelativeLayout) findViewById(R.id.main_tab_friends_find_by_else);
        mLayoutByName.setOnClickListener(new View.OnClickListener()
        {
            @Override
            public void onClick(View v)
            {
                MainBodyActivity.getInstance().gotoSearchBynameActivity();
            }
        });
        mLayoutByElse.setOnClickListener(new View.OnClickListener()
        {
            @Override
            public void onClick(View v)
            {
                MainBodyActivity.getInstance().gotoSearchByelseActivity();
            }
        });


    }

}
